// pages/component/submit-form/4/index.js
Page({
    data: {
        formData: [
            { label:'用户', name:'user' },
            { label:'电话', name:'phone' },
        ],
        defaultValue: {
            user:'admin',
            phone: '123456789'
        }
    },
    onLoad(){
       
    },
    onSubmit({ detail }){
        console.log(detail)
    },
    onChange({ detail }){
        console.log(detail)
    }
})